using Simple.Contracts.Models;
using Simple.Contracts.Models.Common;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Simple.Contracts.Contracts
{
    /// <summary>
    /// 照护计划模板服务接口
    /// </summary>
    public interface ICarePlanTemplateService
    {
        /// <summary>
        /// 保存照护计划模板
        /// </summary>
        /// <param name="input">保存参数</param>
        /// <returns>模板Id</returns>
        Task<Result<long>> SaveCarePlanTemplateAsync(SaveCarePlanTemplateInput input);

        /// <summary>
        /// 删除照护计划模板
        /// </summary>
        /// <param name="id">模板Id</param>
        /// <returns>删除结果</returns>
        Task<Result<bool>> DeleteCarePlanTemplateAsync(long id);

        /// <summary>
        /// 获取照护计划模板列表
        /// </summary>
        /// <returns>模板列表</returns>
        Task<Result<List<CarePlanTemplateDto>>> GetCarePlanTemplateListAsync();

        /// <summary>
        /// 获取照护计划模板详情
        /// </summary>
        /// <param name="id">模板Id</param>
        /// <returns>模板详情</returns>
        Task<Result<CarePlanTemplateDto?>> GetCarePlanTemplateDetailAsync(long id);

        /// <summary>
        /// 复制照护计划模板
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<Result<long>> CopyCarePlanTemplateAsync(CopyCarePlanTemplateInput input);
    }
}